package com.lakeworks.common.enums;


public interface ValueEnum<E> {

    public String name();

    public int value();

    public default boolean in(int flag) {
        return (this.value() & flag) == this.value();
    }

}
